//
//  AXMyUserinfoTableViewCell.m
//  AnXin100
//
//  Created by 天质弘耕 on 2018/10/22.
//  Copyright © 2018年 tzhg. All rights reserved.
//

#import "AXMyUserinfoTableViewCell.h"
#import "UIView+SDAutoLayout.h"
#import "ZXCategories.h"

@implementation AXMyUserinfoTableViewCell

- (instancetype)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier {
    
    if (self = [super initWithStyle:style reuseIdentifier:reuseIdentifier]) {
        
        [self creatView];
        [self setlayout];
    }
    return self;
}

- (void)creatView {
    
    self.leftLabel = [[UILabel alloc]init];
    self.leftLabel.textAlignment = NSTextAlignmentLeft;
    self.leftLabel.font = FONT_FOURTEEN;
    self.leftLabel.textColor = COLOR_DIV;
   [self.contentView addSubview:self.leftLabel];
    
    self.rightLabel = [[UILabel alloc]init];
    self.rightLabel.textAlignment = NSTextAlignmentRight;
    self.rightLabel.font = FONT_FOURTEEN;
    self.rightLabel.textColor = COLOR_DIV;
    [self.contentView addSubview:self.rightLabel];
    
    
    
    
}

- (void)setlayout {
    
    self.leftLabel.sd_layout
    .leftSpaceToView(self.contentView, 10)
    .centerYEqualToView(self.contentView)
    .widthIs(100)
    .heightIs(BTN_HEIGHT);
    
    self.rightLabel.sd_layout
    .rightSpaceToView(self.contentView, 10)
    .topSpaceToView(self.contentView, 10)
    .widthIs(100)
    .heightIs(BTN_HEIGHT);
    
    
    
}



@end

